package com.tarena.lbs.basic.web.dao.mapper;

import com.tarena.lbs.pojo.basic.dos.BusinessDO;
import com.tarena.lbs.pojo.basic.query.BusinessQuery;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface BusinessMapper {
    List<BusinessDO> selectBusinessByQuery(BusinessQuery businessQuery);

    void insert(BusinessDO businessDO);

    Long selectCountById(Integer businessId);
}
